using Making.Ddd.Domain.Domain.Entities;

namespace HamsterDocs.Domains.Storage;

public class LocalStorage : AggregateRoot<Guid>
{
    public string Name { get; set; }

    public string ContentType { get; set; }

    public long Site { get; set; }

    public Guid UserId { get; set; }

    // File system metadata
    public string? Path { get; set; }
    public string? FileHash { get; set; }
    public int? Width { get; set; }
    public int? Height { get; set; }
    public string? ThumbPath { get; set; }

    // Audit
    public DateTime CreatedAt { get; set; }
    public DateTime UpdatedAt { get; set; }
}